# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-webtest
pkgver=2.0.35
pkgrel=0
pkgdesc="A Helper to test WSGI applications"
options="!check" # Requires unpackaged dependencies
url="http://webtest.pythonpaste.org/"
arch="noarch"
license="MIT"
depends="python3"
makedepends="py3-beautifulsoup4 py3-setuptools py3-six py3-waitress py3-webob"
source="https://pypi.io/packages/source/W/WebTest/WebTest-$pkgver.tar.gz"

replaces="py-webtest" # Backwards compat
provides="py-webtest=$pkgver-r$pkgrel" # Backwards compat

builddir="$srcdir"/WebTest-$pkgver

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="ecad031702a9d2031d4e2230dc8213aaa6b1a3e9e6add296ee796aa2ef77d81c992dc24e481f721bc34711d1e33f3932d56cec4be3d62ee82a71fb405942c339  WebTest-2.0.35.tar.gz"
